class Things:
    def __init__(self, name):
        self.name = name
        print('程序初始化{}'.format(name))

    def __del__(self):  # 当程序没有引用是 删除对象
        print('删除对象')

t  = Things('七分')
t.__del__()
i = input('ssss')